﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.ObjectModel;

namespace MarginTrading.Entity
{
    public class Advisor
    {
        #region public methods
        /// <summary>
        /// default constructor of Advisor. 
        /// </summary>
        public Advisor()
        {
            this.Code = string.Empty;
            this.Title = string.Empty;
            this.Initials = string.Empty;
            this.Name = string.Empty;
            this.Surname = string.Empty;
            this.Address_1 = string.Empty;
            this.Address_2 = string.Empty;
            this.Address_3 = string.Empty;
            this.Address_4 = string.Empty;
            this.Telephone1 = string.Empty;
            this.Telephone2 = string.Empty;
            this.Fax = string.Empty;
            this.CreatedDate = DateTime.MinValue;
        }

        #endregion


        #region property

        public string Code { get; set; }
        public string Name { get; set; }
        public string Title { get; set; }
        public string Initials { get; set; }
        public string Surname { get; set; }
        public string Address_1 { get; set; }
        public string Address_2 { get; set; }
        public string Address_3 { get; set; }
        public string Address_4 { get; set; }
        public string Telephone1 { get; set; }
        public string Telephone2 { get; set; }
        public string Fax { get; set; }
        public DateTime CreatedDate { get; set; }

        #endregion
    }

    public class AdvisorCollection : Collection<Advisor>
    {
        public AdvisorCollection()
        {
        }
    }
}
